package com.insideClass.Strings;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 13699
 */
public class InfiniteRecursion {
    @Override
    public String toString() {
        return super.toString()+"InfiniteRecursion address:"+"\n";
    }

    public static void main(String[] args) {
        List<InfiniteRecursion> v=new ArrayList<>();
        for(int i=0;i<10;i++){
            v.add(new InfiniteRecursion());
        }
        System.out.println(v);
    }
}
